package com.ckr.service;

import com.ckr.mapper.UserMapper;
import com.ckr.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Shadowckr
 * @create 2022-01-17 16:10
 */

@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;

    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }

}
